import { Component, OnInit, Input, EventEmitter } from '@angular/core'

@Component({
  selector: 'app-btn-icon',
  templateUrl: './btn-icon.component.html',
  styleUrls: ['./btn-icon.component.less']
})
export class BtnIconComponent implements OnInit {

  @Input() imgSrc: string
  private click = new EventEmitter()

  constructor() { }

  ngOnInit() {
  }

  onClick(): void {
    this.click.next()
  }

}
